﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools;

namespace EntityPet
{

    /// <summary>
    /// 直播计划表
    /// </summary>
   public class Pet_live
    {
        /// <summary>
        /// Id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ID { get; set; } = Guid.NewGuid();
        /// <summary>
        /// 主播
        /// </summary>
        [Required]
        [StringLength(50)]
        public string? Anchor { get; set; }
        /// <summary>
        /// 直播时长
        /// </summary>
        public int LiveTime { get; set; }
        /// <summary>
        /// 今日直播宠物
        /// </summary>
        [Required]
        [StringLength(50)]
        public string? TodayPets { get; set; }
        /// <summary>
        /// 橱窗
        /// 宠物用具
        /// 宠物零食
        /// 宠物
        /// </summary>
        [Required]
        public Showcase Showcase { get; set; }
        /// <summary>
        /// 快递类别（私信备注）
        /// 顺丰(1-2天)
        /// 到店(自选时间)
        /// 自店运送(限10km,额外5元运费)
        /// </summary>
        [Required]
        public Expressage Expressage { get; set; }
    }
}
